//
//  CareWeVC.m
//  NotepadApp
//
//  Created by yobet on 2018/4/16.
//  Copyright © 2018年 HJ. All rights reserved.
//

#import "CareWeVC.h"

@interface CareWeVC ()
@property (weak, nonatomic) IBOutlet UILabel *version;

@end

@implementation CareWeVC

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.navTitle = @"关于我们";
    self.version.text = [@"版本号：" stringByAppendingString:[CommonTools appVersion]];
}

- (IBAction)official:(UIButton *)sender {
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.6588695.com"] options:@{} completionHandler:nil];
}

- (IBAction)score:(id)sender {
    [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"https://itunes.apple.com/cn/app/id1374192465?mt=8"] options:@{} completionHandler:nil];
}
- (IBAction)feedbackInformation:(id)sender {
    UIAlertController * alert =[UIAlertController alertControllerWithTitle:nil message:@"www.6588695.com" preferredStyle:UIAlertControllerStyleActionSheet];
    UIAlertAction * cancelAction =[UIAlertAction actionWithTitle:@"取消" style:UIAlertActionStyleCancel handler:nil];
    [alert addAction:cancelAction];
    [self presentViewController:alert animated:YES completion:nil];
}

@end
